
#ifndef UPDATE_GOODS_WIDGET_H
#define UPDATE_GOODS_WIDGET_H

#include <QWidget>
#include "ui_goods_widget.h"

QT_BEGIN_NAMESPACE
namespace Ui { class goods_widget; }
QT_END_NAMESPACE

class GoodsWidget : public QWidget
{
Q_OBJECT
public:
    explicit GoodsWidget(QWidget *parent = nullptr);

    ~GoodsWidget() override;

    void setPic(const QImage &image,const int &width,const int &height);
    void setName(const QString &name);
    void setPrice(const QString &price);

private:
    Ui::goods_widget ui{};
};


#endif //UPDATE_GOODS_WIDGET_H
